package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
@Mapper
public interface TbModelDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TbModel record);



    TbModel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbModel record);

    int updateByPrimaryKey(TbModel record);
    public ArrayList<HashMap> searchModelByPage(HashMap param);
    public long searchModelCount(HashMap param);
    public int countByNameOrMId(HashMap param);

}